<?php

/* @var $this yii\web\View */

use yii\helpers\Html;

$this->title = '台风路径';
$css = '.wrap > .container {padding: 0;}';
$this->registerCss($css);

$js = <<<JS
function SetWinHeight()
{
    var obj=document.querySelector('#ifram');
     obj.height = document.body.scrollHeight-50;
}
document.querySelector('#ifram').addEventListener('load',SetWinHeight);
JS;
$this->registerJs($js);
?>


        <iframe id="ifram" src="http://typhoon.zjwater.gov.cn/wap.htm" frameborder="0" width="100%" height="700" "></iframe>

